//
//  UIViewController+Extension.h
//  LYExtensionCode
//
//  Created by cqck on 2020/11/4.
//

#import <UIKit/UIKit.h>

@protocol NavigationBackHandlerProtocol <NSObject>

@optional
// 重写下面的方法以拦截导航栏返回按钮点击事件，返回 YES 则 pop，NO 则不 pop
-(BOOL)navigationShouldPopOnBackButton;

@end

@interface UIViewController (Extension) <NavigationBackHandlerProtocol>

@end
